package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblWpBrandUnitConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 唯品会品牌对应配置 Mapper 接口
 * @author xiaochuan
 * @since 2020-04-09
 */
public interface TblWpBrandUnitConfigMapper extends BaseMapper {
    /**
     * getWpBrandByBrandUnitName
     * @param brandUnitName
     * @return
     * @throws Exception
     */
    TblWpBrandUnitConfig getWpBrandByBrandUnitName(@Param("brandUnitName") String brandUnitName) throws Exception;

    List<TblWpBrandUnitConfig> getBrandUnitConfig(@Param("wpBrandName") String wpBrandName, @Param("vendorCode") String vendorCode);

}

